Optimal. Leaf size=110 \[ \frac {2}{a x \sqrt {a x^2+b x^3}}-\frac {5 \sqrt {a x^2+b x^3}}{2 a^2 x^3}+\frac {15 b \sqrt {a x^2+b x^3}}{4 a^3 x^2}-\frac {15 b^2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{4 a^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {2031, 2050,
2033, 212} \begin {gather*} -\frac {15 b^2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{4 a^{7/2}}+\frac {15 b \sqrt {a x^2+b x^3}}{4 a^3 x^2}-\frac {5 \sqrt {a x^2+b x^3}}{2 a^2 x^3}+\frac {2}{a x \sqrt {a x^2+b x^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2031
Rule 2033
Rule 2050
Rubi steps
\begin {align*} \int \frac {1}{\left (a x^2+b x^3\right )^{3/2}} \, dx &=\frac {2}{a x \sqrt {a x^2+b x^3}}+\frac {5 \int \frac {1}{x^2 \sqrt {a x^2+b x^3}} \, dx}{a}\\ &=\frac {2}{a x \sqrt {a x^2+b x^3}}-\frac {5 \sqrt {a x^2+b x^3}}{2 a^2 x^3}-\frac {(15 b) \int \frac {1}{x \sqrt {a x^2+b x^3}} \, dx}{4 a^2}\\ &=\frac {2}{a x \sqrt {a x^2+b x^3}}-\frac {5 \sqrt {a x^2+b x^3}}{2 a^2 x^3}+\frac {15 b \sqrt {a x^2+b x^3}}{4 a^3 x^2}+\frac {\left (15 b^2\right ) \int \frac {1}{\sqrt {a x^2+b x^3}} \, dx}{8 a^3}\\ &=\frac {2}{a x \sqrt {a x^2+b x^3}}-\frac {5 \sqrt {a x^2+b x^3}}{2 a^2 x^3}+\frac {15 b \sqrt {a x^2+b x^3}}{4 a^3 x^2}-\frac {\left (15 b^2\right ) \text {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+b x^3}}\right )}{4 a^3}\\ &=\frac {2}{a x \sqrt {a x^2+b x^3}}-\frac {5 \sqrt {a x^2+b x^3}}{2 a^2 x^3}+\frac {15 b \sqrt {a x^2+b x^3}}{4 a^3 x^2}-\frac {15 b^2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^3}}\right )}{4 a^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 84, normalized size = 0.76 \begin {gather*} \frac {\sqrt {a} \left (-2 a^2+5 a b x+15 b^2 x^2\right )-15 b^2 x^2 \sqrt {a+b x} \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{4 a^{7/2} x \sqrt {x^2 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 76, normalized size = 0.69
method | result | size |
default | \(-\frac {x \left (b x +a \right ) \left (15 \sqrt {b x +a}\, \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right ) b^{2} x^{2}-5 a^{\frac {3}{2}} b x -15 b^{2} x^{2} \sqrt {a}+2 a^{\frac {5}{2}}\right )}{4 \left (b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}} a^{\frac {7}{2}}}\) | \(76\) |
risch | \(-\frac {\left (b x +a \right ) \left (-7 b x +2 a \right )}{4 a^{3} x \sqrt {x^{2} \left (b x +a \right )}}+\frac {b^{2} \left (-\frac {30 \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{\sqrt {a}}+\frac {16}{\sqrt {b x +a}}\right ) \sqrt {b x +a}\, x}{8 a^{3} \sqrt {x^{2} \left (b x +a \right )}}\) | \(88\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.52, size = 219, normalized size = 1.99 \begin {gather*} \left [\frac {15 \, {\left (b^{3} x^{4} + a b^{2} x^{3}\right )} \sqrt {a} \log \left (\frac {b x^{2} + 2 \, a x - 2 \, \sqrt {b x^{3} + a x^{2}} \sqrt {a}}{x^{2}}\right ) + 2 \, {\left (15 \, a b^{2} x^{2} + 5 \, a^{2} b x - 2 \, a^{3}\right )} \sqrt {b x^{3} + a x^{2}}}{8 \, {\left (a^{4} b x^{4} + a^{5} x^{3}\right )}}, \frac {15 \, {\left (b^{3} x^{4} + a b^{2} x^{3}\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {b x^{3} + a x^{2}} \sqrt {-a}}{a x}\right ) + {\left (15 \, a b^{2} x^{2} + 5 \, a^{2} b x - 2 \, a^{3}\right )} \sqrt {b x^{3} + a x^{2}}}{4 \, {\left (a^{4} b x^{4} + a^{5} x^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a x^{2} + b x^{3}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.44, size = 92, normalized size = 0.84 \begin {gather*} \frac {15 \, b^{2} \arctan \left (\frac {\sqrt {b x + a}}{\sqrt {-a}}\right )}{4 \, \sqrt {-a} a^{3} \mathrm {sgn}\left (x\right )} + \frac {2 \, b^{2}}{\sqrt {b x + a} a^{3} \mathrm {sgn}\left (x\right )} + \frac {7 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{2} - 9 \, \sqrt {b x + a} a b^{2}}{4 \, a^{3} b^{2} x^{2} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.43, size = 42, normalized size = 0.38 \begin {gather*} -\frac {2\,x\,{\left (\frac {a}{b\,x}+1\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (\frac {3}{2},\frac {7}{2};\ \frac {9}{2};\ -\frac {a}{b\,x}\right )}{7\,{\left (b\,x^3+a\,x^2\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________